package com.airport.ticket.common;

import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.Date;

public class UrlUtil {
	
	public static String parseUtf8(String str) {
		String result = "";
		try {
			result = URLEncoder.encode(str,"UTF-8");
		}catch (Exception e) {
			e.printStackTrace();
		}
		return result;
	}

}
